package com.addplus.townmall.server.api.mapper.demo;

import com.addplus.townmall.server.api.model.demo.DemoAddress;
import com.addplus.townmall.server.api.utils.BaseAddMapper;
import org.apache.ibatis.annotations.Select;

public interface DemoAddressMapper extends BaseAddMapper<DemoAddress> {

    /**
     * 根据地址id查询地址
     */
    @Select("SELECT * FROM `demo_address` WHERE id = #{id}")
    DemoAddress findAddressById(Integer id);
}
